<template>
    <el-container>
        <el-header>
            <NavMenu></NavMenu>
        </el-header>
        <el-main>
            <router-view/>
        </el-main>
        <el-footer>
            <Footer></Footer>
        </el-footer>
    </el-container>
</template>

<script>
    import NavMenu from './common/NavMenu'
    import Footer from "./common/Footer";

    export default {
        name: 'Home',
        components: {Footer, NavMenu},
        mounted() {
            this.$router.replace({path: '/index'})
        }
    }
</script>

<style scoped>
    * {
        user-select: none
    }
</style>
